.learun-footer {
  z-index: 1032;
  bottom: 0;
  left: 0;
  background-color: $color-type-black;
  width: 100%;
  height: $footer-height;
  position: fixed;
  display: none;

  &:after {
    content: ' ';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: $text-color;
  }

  &__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-width: 56px;
    transition: all .3s;
    color: $white;
    padding: 0 16px;

    &-text{
      font-size: 14px;
      color: $white;
      width: 0;
      transition: all .3s;
      overflow: hidden;
      white-space: nowrap;
    }

    cursor: pointer;
    &:hover, &.isOpened {
      background-color: $text-color;
      .learun-footer__btn-text{
        width: 40px;
        text-align: center;
      }
    }
  }

  &__menu_panel {
    position: fixed;
    
    left: 0;
    min-height: 308px;
    max-height: calc(100% - 144px) ;
    width: 376px;
    background-color: $color-type-black;
    overflow: hidden;
    box-shadow: 0px 0px 8px 0px rgba(0,0,0,0.15);
    transition: bottom .5s;

    bottom: calc(-100% + 40px);
    z-index: 1031;
    &.isOpened{
      bottom: $footer-height;
    }

  }
  &__menu{
    position: relative;
    width: 168px;
    padding: 4px 0;
    transition: all .3s;
  }
  &__sub_menu{
    top:0;
    right: 0;
    padding: 4px 0;
    position: absolute;
    height: 100%;
    width: 208px;
    overflow: auto;
    background-color: #fff;
    transition: all .3s;
  }
  &__menu-mask{
    position: fixed;
    height: 100%;
    width: 100%;
    z-index: 1030;
    top:0;
    left: 0;
  }
}